package com.ahcg.sub

abstract class Father {
  def fun1 = 1

  def fun2: Int
}

class Child extends Father {
  override def fun1 = 2

  def fun2 = 1
}